﻿@model TuanAnhPersonalWeb.Models.FixModel

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}

<h2>Index</h2>


<table>
    <tr>
        <th>
           TABLE
        </th>
        <th>
           CURRENT
        </th>
        <th></th>
    </tr>


    <tr>
        <td>
            @Html.DisplayFor(modelItem => modelItem.tableCode)
        </td>
        <td>
            @Html.DisplayFor(modelItem => modelItem.currentCode)
        </td>
        <td>
           @if (Model.currentCode > Model.tableCode)
           {
               @Html.ActionLink("FIX", "Fixcode");
           }
           else
           {
               <text>It's Fine</text>
           }


        </td>
    </tr>

</table>
